package com.retail.product.common.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retail.common.core.annotation.Excel;
import com.retail.common.core.web.domain.BaseEntity;

/**
 * sku商品套餐 例：苹果14 幻影紫 16+128G对象 t_sku
 * 
 * @author retail
 * @date 2024-02-27
 */
public class TSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** sku主键 */
    private Integer skuId;

    /** sku名称 */
    @Excel(name = "sku名称")
    private String skuName;

    /** spu商品id */
    private Integer productId;

    /** 状态：1-上架 2-下架 */
    @Excel(name = "状态：1-上架 2-下架")
    private Integer saleStatus;

    /** 图片 */
    @Excel(name = "图片")
    private String skuImg;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal skuPrice;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String skuDescription;

    /** 销售量 */
    @Excel(name = "销售量")
    private Integer saleCount;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer productCount;

    public void setSkuId(Integer skuId) 
    {
        this.skuId = skuId;
    }

    public Integer getSkuId() 
    {
        return skuId;
    }
    public void setSkuName(String skuName) 
    {
        this.skuName = skuName;
    }

    public String getSkuName() 
    {
        return skuName;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setSaleStatus(Integer saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public Integer getSaleStatus() 
    {
        return saleStatus;
    }
    public void setSkuImg(String skuImg) 
    {
        this.skuImg = skuImg;
    }

    public String getSkuImg() 
    {
        return skuImg;
    }
    public void setSkuPrice(BigDecimal skuPrice) 
    {
        this.skuPrice = skuPrice;
    }

    public BigDecimal getSkuPrice() 
    {
        return skuPrice;
    }
    public void setSkuDescription(String skuDescription) 
    {
        this.skuDescription = skuDescription;
    }

    public String getSkuDescription() 
    {
        return skuDescription;
    }
    public void setSaleCount(Integer saleCount) 
    {
        this.saleCount = saleCount;
    }

    public Integer getSaleCount() 
    {
        return saleCount;
    }
    public void setProductCount(Integer productCount) 
    {
        this.productCount = productCount;
    }

    public Integer getProductCount() 
    {
        return productCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("skuId", getSkuId())
            .append("skuName", getSkuName())
            .append("productId", getProductId())
            .append("saleStatus", getSaleStatus())
            .append("skuImg", getSkuImg())
            .append("skuPrice", getSkuPrice())
            .append("skuDescription", getSkuDescription())
            .append("saleCount", getSaleCount())
            .append("productCount", getProductCount())
            .toString();
    }
}
